package freemind.controller;

import freemind.controller.ChangeTextPanel;
import freemind.modes.MindMap;
import freemind.modes.browsemode.BrowseNodeModel;
import freemind.view.mindmapview.NodeView;

public interface CustomController {
	
	public void insertNode(NodeView node,boolean root);
	public void changeNode( ChangeTextPanel panel, MindMap model );	
	
	public void editNode( ChangeTextPanel panel );
	public void cancelOperation( ChangeTextPanel panel );
	
	public void changeType( NodeView node );	
	public void tooglePosition( NodeView node);
	public void copiaNode ( NodeView node );
	public void pasteNode ( NodeView selectedNode );
	
	public void willLinkNode(NodeView node);
	public void removerLink( NodeView node );
	public void goToTheLink(int link);
	
	public void newMap(String nome,String autor);	
	
	public String requestLoad(int rootId);
	public String responseLoad(String protocol);
	
	public String requestSave();	
	public String responseSave(String protocol);
	
	public void requestDelete( NodeView node );
	public void responseDelete(boolean toDelete);
	
	public BrowseNodeModel getNodeByIndex(Object parent, int index);
	
	public int getNodeVisibleFunctions(NodeView node);
	
	public void appletGetStarted();
	public void appletHasLoadedContent();
	
	public void testaEnvioByte();		
}
